package com.objetdirect.gwt.umldrawer.shared.services;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.objetdirect.gwt.umldrawer.shared.dto.DiagramDto;

@RemoteServiceRelativePath("springGwtServices/diagramService")
public interface DiagramService extends RemoteService {

	public void addDiagram(int projectId, String diagramName,
			String diagramType, String diagramPath) throws Exception;

	public List<DiagramDto> getDiagrams(int projectId) throws Exception;

	public void removeDiagram(int projectid, String diagramName)
			throws Exception;

}
